* {
    margin: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.group {
    border: 2px solid #ededed;
    padding: 10px;
    border-radius: 20px;
}

#todoList {
    margin-top: 10px;
}

/* item */
.item {
    margin: 3px;
    padding: 3px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    height: 24px;
    border: 2px solid #ededed;
    line-height: 24px;
    margin-top: 5px;
}

.item:hover {
    background-color: #dedede;
    transform: scale(1.04);
}

.item-sp {
    flex-grow: 1;
}

.item-del {
    visibility: hidden;
    border: none;
    border-radius: 5px;
    color: #fff;
    background-color: #d74d46;
}

.item:hover .item-del {
    visibility: visible;
}

/* input */
.todovalue {
    width: 525px;
    padding: 7px;
    border-radius: 8px;
    margin: 5px;
    outline: none;
    border: 2px solid #ededed;
}

.todovalue:hover {
    border-color: rgba(180, 217, 242, 0.7);
}

.todovalue:focus {
    box-shadow: 0 0 5px #6ca1d6;
    border: 1px solid #b4d9f2;
    outline: none;
}

/* footer */
.footer {
    margin-top: 15px;
}

.footer>div {
    display: inline-block;
    float: left;
}

.footer>button {
    display: inline-block;
    float: right;
    padding: 5px 15px;
    border: none;
    border-radius: 5px;
    color: #fff;
    background: #d74d46;
}

.footer>button:hover {
    background: #a12f29;
}